package com.imti.mall.sale.service;

import com.imti.mall.model.sms.pojo.SmsHomeNewProduct;
import com.imti.mall.model.sms.vo.SmsHomeNewProductPicVo;
import com.imti.mall.sale.mapper.SmsHomeNewProductMapper;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.UpdateProvider;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface SmsHomeNewProductService {
    /**
     * 查询新品推荐商品
     */

    public List<SmsHomeNewProduct> findSmsHomeNewProduct (SmsHomeNewProduct smsHomeNewProduct,Integer pageSize, Integer pageNum);

    /**
     * 修改新品推荐商品
     * @param smsHomeNewProduct
     * @return
     */
    public Integer updateSmsHomeNewProduct(SmsHomeNewProduct smsHomeNewProduct);

    /**
     * 根据id删除新品推荐商品
     * @param id
     * @return
     */
    public Integer delSmsHomeNewProduct(Integer id);

    /**
     * 添加新品推荐商品
     * @param smsHomeNewProduct
     * @return
     */
    public Integer addSmsHomeNewProduct(SmsHomeNewProduct smsHomeNewProduct);

    /**
     * 查询图片信息
     * @param
     * @return
     */
    public  List<SmsHomeNewProductPicVo> findSmsHomeNewProductPic(SmsHomeNewProductPicVo smsHomeNewProductPicVo );
}
